package com.zz.examination.entity;

import lombok.Builder;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

@Data
@Builder
public class Question implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private String id;

    /**
     * 考题内容
     */
    @NotEmpty(message = "考题内容不能为空")
    private String quesContent;

    /**
     * 答案总数
     */
    private Integer answerTotalCount;

    /**
     * 正确答案ID
     */
    private String rightAnswerId;

    /**
     * 解析
     */
    private String analysis;

    /**
     * 正确答案内容
     */
    private String rightAnswerContent;

    /**
     * 答案内容List
     */
    private List<String> ansContentList;
}
